package top.buyibuyi.course.esayExcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class ExcelStuSchose {

    @ExcelProperty(value = "学号",index = 0)
    private String stuid;
    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
    @ExcelProperty(value = "所属学院",index = 2)
    private String college;
    @ExcelProperty(value = "平时成绩",index = 3)
    private int nowresults;
    @ExcelProperty(value = "期中成绩",index = 4)
    private int midresults;
    @ExcelProperty(value = "期末成绩",index = 5)
    private int finalresults;

    @Override
    public String toString() {
        return "ExcelStuSchose{" +
                "stuid='" + stuid + '\'' +
                ", sname='" + sname + '\'' +
                ", college='" + college + '\'' +
                ", nowresults='" + nowresults + '\'' +
                ", midresults='" + midresults + '\'' +
                ", finalresults='" + finalresults + '\'' +
                ", skillresults='" + skillresults + '\'' +
                ", totalresults='" + totalresults + '\'' +
                ", ispass='" + ispass + '\'' +
                '}';
    }

    @ExcelProperty(value = "技能考核成绩",index = 6)
    private int skillresults;
    @ExcelProperty(value = "总成绩",index = 7)
    private int totalresults;
    @ExcelProperty(value = "是否及格",index = 8)
    private String ispass;
    @ExcelProperty(value = "课程编号",index = 9)
    private int chooseid;
}
